/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.future.projects.imobiliaria.dao;

import com.future.projects.imobiliaria.exception.DAOException;
import com.future.projects.imobiliaria.model.Usuario;
import java.util.List;

/**
 *
 * @author fernandofot
 */
public interface UsuarioDAO {
    public Long create(Usuario usuario) throws DAOException;
    public void update(Usuario usuario) throws DAOException;
    public void remove(Long id) throws DAOException;
    public Usuario find(Long id) throws DAOException;
    public Usuario findByLogin(String login) throws DAOException;
    public List<Usuario> listUsuarios() throws DAOException;;
    public List<Usuario> searchUsuarios(String term) throws DAOException;;
    
    
    
}
